﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.Mvc;
using System.ComponentModel.DataAnnotations;
using System.Data.Entity;
using System.ComponentModel;

namespace ExtremeEvents.Models
{
    public class Visitante
    {
        [Key]
        public int id_visitante { get; set; }

        [Required(ErrorMessage = "Campo obrigatório")]
        [Display(Name = "Nome:")]
        public string nome { get; set; }

        [Required(ErrorMessage = "Campo obrigatório")]
        [Display(Name = "Contacto telefónico:")]
        public string contacto { get; set; }
        
        [Display(Name = "email:")]
        public string email { get; set; }
    }
}